.primary-color {
  color: #108ee9 !important;
}
.success-color {
  color: #009900 !important;
}
.warning-color {
  color: #e6a23c !important;
}
.danger-color {
  color: #ff0000 !important;
}

/* chrom滚动条 */
::-webkit-scrollbar {
  width: 8px !important;
  height: 8px !important;
  -webkit-appearance: none;
}

::-webkit-scrollbar-thumb {
  height: 5px;
  border: 1px solid transparent;
  border-top: 0;
  border-bottom: 0;
  background-color: #ccc;
  background-clip: padding-box;
}

/* 火狐选择背景 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

/* 元素显示与否 */
.block {
  display: block !important;
}
.none {
  display: block !important;
}
.inline-block {
  display: inline-block !important;
}
/* 定位 */
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
/* 没有内边距 */
.no-padding {
  padding: 0px !important;
}
/* 没有边 */
.no-border {
  border: none !important;
}
/* 手形 */
.pointer {
  cursor: pointer !important;
}
/* 对齐方式 */
.align-left {
  text-align: left !important;
}
.align-center {
  text-align: center !important;
}
.align-right {
  text-align: right !important;
}

.border-radius {
  border-radius: 50% !important;
}

/* 单行省略 */
.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 两行省略 */
.ellipsis2 {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: pre-wrap;
}

/* 清除浮动 */
.clear {
  clear: both;
}
.clearfix::after {
  display: block;
  clear: both;
  visibility: hidden;
  height: 0;
  content: "";
}
